package com.atguigu.gulimail.ware.exceptio;

public class NoStockException extends RuntimeException{

    private Long skuId;
    public NoStockException(Long skuId){
    super("当前 skuId:"+skuId+"没有库存");
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
}
